<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorator="${ otherUser.getPermission()==0 ? 'layout/online' : 'layout/admin'}">
<head>
<!--    <title th:text="${otherUser.getUsername() + ' | JF'}">Title of profile view</title>-->
	<title th:text="${otherUser.getUsername()}">Title of profile view</title>
</head>
<body>
    <main layout:fragment="content">
        <article class="container" style="padding: 3% 0 2%;">
            <header class="row">
                <div class="col s12">
                    <blockquote class="flow-text left" th:text="${otherUser.getUsername()} + | 的个人信息|">Profile</blockquote>
                </div>
            </header>
            <section class="row">
                <div class="col s12 m6">
                    <ul class="collection">
                        <li class="collection-item center">Personal data</li>
                        <li class="collection-item">
                            <span class="badge">
                                <span th:text="${otherUser.getUsername()}">Nick</span>
                            </span>用户名:
                        </li>
                        <li class="collection-item">
                            <span class="badge">
                                <span th:text="${otherUser.getIntroduction()}">Created date</span>
                            </span>简介:
                        </li>
                        <li class="collection-item">
                            <span class="badge">
                                <span th:text="${otherUser.getStringGender()}">Created date</span>
                            </span>性别:
                        </li>
                        <li class="collection-item">
                            <span class="badge">
                                <span th:text="${otherUser.getPhoneNumber()}">Created date</span>
                            </span>手机号:
                        </li>
                        <li class="collection-item">
                            <span class="badge">
                                <span th:text="${otherUser.displayParsedDate()}">Created date</span>
                            </span>注册时间:
                        </li>
                    </ul>
                </div>
		</section>
	</article>
    </main>
</body>
</html>